import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import fastclick from 'fastclick'
import 'reset-css/reset.css'
import 'styles/border.css'
import { Search, Swipe, SwipeItem, Lazyload, Tabbar, TabbarItem } from 'vant'

// 富文本转义
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)



Vue.use(Search).use(Swipe).use(SwipeItem).use(Lazyload).use(Tabbar).use(TabbarItem)
fastclick.attach(document.body)
Vue.config.productionTip = false

// ps. type=1(正式库), type=2(测试库)
// origin和type更改在 /src/store/actions.js

// import wechatAuth from '@/utils/wechatAuth'



// Vue.use(wechatAuth, {
//   // appid: process.env.VUE_APP_WECHAT_APPID
//   appid:"wxaed9c82f6c732cae",
//   scope:"snsapi_userinfo"
// })

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')


